package sss.day5.signleton;

public class SingletonTest {
	public static void main(String[] args) {
		
		Bank1 bank1 = Bank1.instance;
		
//		Bank.instance = null;
		Bank1 bank2 = Bank1.instance;
		
		System.out.println(bank1 == bank2);
		
	}
}

class Bank1{
	
	private Bank1(){
		
	}
	
	public static final Bank1 instance = new Bank1();
	
}
